How It Works

The WTD Token Protocol is a comprehensive ERC20 token ecosystem designed for structured fundraising, vesting, and liquidity management. It targets Base L2 and Ethereum mainnet.

How It Works

The protocol consists of four smart contracts that work together:

1

WTDToken

The ERC20 token with a 100 billion max supply, divided into 10 allocation categories. Tokens are minted on demand through the allocation system.

2

WTDSale

Manages three investment rounds (Seed, Private, Public). Buyers pay with USDC, USDT, or ETH, and the contract automatically creates vesting schedules.

3

WTDVesting

Holds tokens and releases them according to predefined schedules. Investor vesting uses weekly unlocks after a lock-up period. Team/advisor vesting uses monthly unlocks.

4

WTDLiquidityManager

Locks Uniswap v4 LP positions and allows fee collection while liquidity remains locked.

Flow

Investor pays USDC/USDT/ETH
    WTDSale ──────────────────────► WTDVesting
    (accepts payment,                (creates vesting schedule,
     calculates tokens)               holds tokens for release)
    WTDToken
    (minted via allocation
     claim by admin)
1

Admin claims token allocations from WTDToken and funds the vesting contract

2

Admin configures sale rounds with pricing and activates them

3

Investors purchase tokens through WTDSale

4

WTDSale automatically creates a vesting schedule in WTDVesting

5

After lock-up periods end, investors claim vested tokens from WTDVesting

6

Separately, admin manages Uniswap v4 liquidity through WTDLiquidityManager

Target Chains

Chain
Purpose

Base L2

Primary deployment for lower gas costs

Technology Stack

  • Solidity 0.8.28

  • OpenZeppelin v5.1.0 (AccessControl, SafeERC20, ReentrancyGuard, UUPS)

  • Uniswap v4 (PoolManager, PositionManager)

  • Chainlink Price Feeds (ETH/USD oracle)

Last updated